package cn.iocoder.yudao.module.member.alliance.vo;

import cn.iocoder.yudao.framework.business.eligibility.pojo.form.EligibilityApplySaveDTO;
import cn.iocoder.yudao.framework.validation.InEnumValue;
import cn.iocoder.yudao.module.api.member.alliance.enums.CloudAllianceTypeEnum;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.validation.annotation.Validated;

@Schema(description = "云盟商申请 Request VO")
@Data
@Validated
public class AppCloudAllianceApplySaveDTO extends EligibilityApplySaveDTO {

    @Schema(description = "类型：1-用户、2-商户", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @InEnumValue(CloudAllianceTypeEnum.class)
    private Integer type;

    @Schema(description = "商户申请时有效", example = "1")
    @JsonIgnore
    private Long shopId;

}
